﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{

    /// <summary>
    /// 工艺流程
    /// </summary>
    [SugarTable("ProcessModel", TableDescription = "工艺流程")]
    public class ProcessModel
    {
        /// <summary>
        /// 工艺流程编码
        /// </summary>
        [SugarColumn( IsPrimaryKey = true, ColumnDescription = "工艺流程编码")]
        public string PRId { get; set; }

        /// <summary>
        /// 工艺流程名称
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程名称")]
        public string PRName { get; set; }

        /// <summary>
        /// 工序数量
        /// </summary>
        [SugarColumn(ColumnDescription = "工序数量")]
        public float PRNum { get; set; }

        /// <summary>
        /// 负责人编码
        /// </summary>
        [SugarColumn(ColumnDescription = "负责人编码")]
        public string EmpId { get; set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        [SugarColumn(ColumnDescription = "部门编码")]
        public string DepId { get; set; }

        /// <summary>
        /// 职位编码
        /// </summary>
        //[SugarColumn(ColumnDescription = "职位编码")]
       // public string JobId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注",IsNullable =true)]
        public string? Memo { get; set; }

    }
}
